.myCheckBox{
    position: relative;
    display: inline-block;
    width: 40px;
    height: 22px;
    input{
        opacity: 0;
        width: 0;
        height: 0;
    }
    input:checked + .myCheckBox_slide{
        background-color: var(--primary);
        &::before{
            transform: translateX(18px);
            background-color: white;
        }
    }
    input:disabled + .myCheckBox_slide{
        background-color: var(--bg-tertiary);
        &::before{
            background-color: var(--text-tertiary);
        }
    }
    .myCheckBox_slide{
        position: absolute;
        cursor: pointer;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: var(--bg-secondary);
        transition: var(--transition);
        border-radius: 24px;
        border: 1px solid var(--bg-dark);
        &::before{
            position: absolute;
            content: "";
            height: 18px;
            width: 18px;
            left: 2px;
            bottom: 1px;
            background-color: var(--text-secondary);
            transition: var(--transition);
            border-radius: 50%;
        }
    }
}